.nav-container-box {
    background-color: white;
}

.course-detail-nav {
    background: linear-gradient(90deg, #5782f6, #4683ff);
    height: 150px;
    width: 1200px;
    margin: 0 auto;
    padding-top: 20px;

    >a {
        padding: 10px 20px;
        color: white;
    }

}

.course-detail-main-container {
    width: 1160px;
    margin: 0 auto;

    .introdcut-container {
        border-radius: 10px 10px 0 0;
        padding: 20px;
        width: 1160px;
        background-color: white;
        margin: 0 auto;
        margin-top: -50px;
        display: flex;

        >.intro-left {
            border-radius: 10px;
            margin-right: 30px;

            >img {
                border-radius: 10px;
                width: 330px;
                height: 220px;
            }
        }

        >.intro-right {
            width: 550px;

            >.detail-title {
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                font-size: 30px;
                font-weight: 500;
                color: #333;
            }

            >.detail-info {
                >.detail-info-first-line {
                    padding-top: 5px;
                    display: flex;
                    align-items: center;



                    >div:nth-child(1) {
                        font-size: 14px;
                        color: #999;
                    }

                    >span:nth-child(2) {
                        margin-left: 20px;

                        >img {
                            width: 20px;

                            &:hover {
                                transform: scale(1.1);
                            }
                        }
                    }
                }

                >.detail-price-info {
                    display: flex;
                    flex-direction: column;

                    >.detail-price-box {
                        display: flex;
                        align-items: center;

                        .detail-free-font {
                            color: rgb(0, 207, 140);
                            font-size: 26px;
                            font-weight: 600;
                        }

                        .detail-new-price {
                            font-size: 26px;
                            font-weight: 600;
                            color: #f32425;
                        }

                        .detail-old-price {
                            font-weight: 500;
                            color: #b7bbc4;
                            font-size: 14px;
                            text-decoration: line-through;
                            margin: 0 10px;
                        }
                    }


                    >.detail-time-limit {
                        margin-bottom: 10px;
                        width: 80px;
                        padding-left: 5px;
                        background: linear-gradient(48deg, #fe26b8, #f7283f 23%, #fc3d3f 72%, #ff8d2a) !important;
                        border-radius: 3px;
                        color: #fff;
                    }


                }

                >.detail-btn-box {
                    >.deatil-watch-btn {
                        width: 121px;
                        height: 40px;
                        font-size: 18px;
                        border-radius: 24px;
                        margin-right: 15px;
                        color: #fff;
                        background-color: #00cf8c;
                        border-color: #00cf8c;
                        text-shadow: 0 -1px 0 rgba(0, 0, 0, .12);
                        border: none;
                        box-shadow: 0 2px 0 rgba(0, 0, 0, .045);
                    }

                    >.detail-add-btn {
                        width: 121px;
                        height: 40px;
                        background: #ffe9e9;
                        border-radius: 24px;
                        font-size: 18px;
                        font-weight: 500;
                        color: #f1534b;
                        border: none;
                    }
                }
            }
        }

        >.collection {
            display: flex;
            flex-direction: column;

            >img {
                width: 18px;
                height: 18px;
            }

            >span {
                color: #999;
                font-size: 16px;
            }
        }

    }

    .course-deatil-container {
        border-radius: 10px 10px 0 0;
        padding: 3z0px;
        width: 1160px;
        background-color: white;
        margin: 0 auto;
        margin-top: 30px;

        >.course-detail-container-nav-line {
            display: flex;
            justify-content: center;
            border-bottom: 1px solid #999;
            margin-bottom: 20px;

            >div {
                color: #00cf8c;
                text-shadow: 0 0 .25px currentColor;
                margin: 0 24px 0 0;
                padding: 12px 16px;
                cursor: pointer;
                transition: color .3s cubic-bezier(.645, .045, .355, 1);
                // border-bottom: 2px solid #00cf8c;
            }
        }

        >.course-description-box {
            padding: 30px;
            opacity: 0; // 初始状态透明
            animation: fadeIn 0.5s ease-in-out forwards; // 动画效果

            // 定义动画
            @keyframes fadeIn {
                from {
                    opacity: 0;
                }

                to {
                    opacity: 1;
                }
            }
        }

    }

    .course-content-box {
        padding: 30px;
        opacity: 0; // 初始状态透明
        animation: fadeIn 0.5s ease-in-out forwards; // 动画效果

        // 定义动画
        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        >.course-section {
            margin-bottom: 20px;

            >.section-title-line {
                display: flex;
                justify-content: space-between;

                >.section-title {
                    font-size: 22px;
                }

                >.download-btn {
                    color: #fff;
                    height: 30px;
                    line-height: 27px;
                    width: 80px;
                    text-align: center;
                    display: block;
                    font-size: 14px;
                    background-color: rgb(45, 183, 245);
                }
            }

            >.section-item-list {
                >.section-item {
                    height: 50px;
                    line-height: 30px;
                    padding: 10px 20px;
                    background: #f2f2f2;
                    margin: 10px 0;
                    display: flex;
                    justify-content: space-between;

                    >.section-item-title {
                        overflow: hidden;
                        text-overflow: ellipsis;
                        line-height: 30px;
                        font-size: 14px;

                        &:hover {
                            color: #00cf8c;
                            cursor: pointer;
                        }
                    }

                    >.section-item-action {
                        >img {
                            width: 26px;
                        }

                        &:hover {
                            color: #00cf8c;
                        }
                    }
                }
            }
        }
    }

}

.course-remark-box {
    width: 1160px;
    margin: 0 auto;
    padding: 30px;
    background-color: white;

    .remark-box-header {
        >span:nth-child(1) {
            padding: 10px;
        }



        .remark-textarea {
            padding: 10px;

            >textarea {
                width: 1080px;
                height: 135px;
                resize: none;
                padding: 10px;
                border-color: #999;

                &::placeholder {
                    color: #999; // 浅灰色文字
                    font-size: 14px;

                }

                &:focus {
                    outline: none; // 去除默认外发光
                    border-color: #00cf8c; // 使用品牌色
                    box-shadow: 0 0 0 2px rgba(0, 207, 140, 0.2); // 添加柔和光晕
                }
            }
        }

        .remark-btn {
            display: flex;
            flex-direction: row-reverse;
            button {

                height: 32px;
                padding: 0 15px;
                font-size: 14px;
                margin-right: 15px;
                color: #fff;
                background-color: #00cf8c;
                border-color: #00cf8c;
                text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
                border: none;

                box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
            }
        }

    }

}

.remark-box-main {

    >.remark-list {
        >.remark-list-item {
            padding-top: 20px;
            padding-bottom: 20px;
            border-bottom: rgb(232, 232, 232) 1px solid;

            >.remark-list-item-title {
                display: flex;
                justify-content: space-between;

                .remark-list-item-title-left {
                    img {
                        margin: 0 10px 0 20px;
                    }
                }

            }

            >.remark-list-item-content {
                color: rgba(0, 0, 0, .65);
                font-size: 14px;
                font-variant: tabular-nums;
                line-height: 1.5;
                list-style: none;
                padding: 10px 0 10px 40px;
            }

            >.remark-list-item-footer {
                display: flex;
                flex-direction: row-reverse;
                overflow: hidden;

                span:nth-child(1) {
                    padding: 0 10px 0 0;
                    color: #999;

                }

                span:nth-child(2) {

                    color: #777;

                    &:hover {
                        color: #00cf8c;
                        cursor: pointer;
                    }
                }
            }
        }
    }
}

.remark-box-star {
    padding: 10px;

    >img {

        width: 20px;
    }
}